﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;

using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;


namespace WebLicenseGenerator.UC
{
	public partial class Messaging : System.Web.UI.UserControl
	{
		public string Title
		{
			get { return lblTitle.Text; }
			set { lblTitle.Text = value.ToUpper(); }
		}

		public string Message
		{
			get { return lblMessage.Text; }
			set { lblMessage.Text = value; }
		}

        protected void Page_Load(object sender, EventArgs e)
        {
		}

		protected void Button1_Click(object sender, EventArgs e)
		{
			this.HideMessageDialog();
		}

		public void ShowMessageDialog()
		{
			mpe.Show();
		}

		public void HideMessageDialog()
		{
			mpe.Hide();
		}
	}
}